package com.example.stray_animal_management_system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.stray_animal_management_system.entity.User;

/**
 * @description:
 * @author: panpan
 * @time: 2025/10/26
 */

public interface UserService extends IService<User> {
    User register(User user);
    User login(String username, String password);
    /**
     * 校验密码
     * @param user 用户
     * @param password 密码
     * @return 校验结果
     */
    boolean checkPassword(User user, String password);

}